from django.conf.urls import url
from django.urls import path,include
from goods import views

urlpatterns = [
    url('index', views.index, name='index'),
    url('search', include('haystack.urls'), name='search'),
    url('detail/(?P<goods_id>\d+)', views.GoodsDetail, name='detail'),
    url('list/(?P<type_id>\d+)/(?P<page_id>\d+)$', views.GoodsList, name='list'),

]